Dynomotion

Group: DynoMotion Message: 12882 From: mp.3333 Date: 2/27/2016
Subject: Dynomotion VB.net.exe won't run

Hi Tom, I am finishing up a machine and need to run from an exe and remove the development files.  However, when I run the exe it fails every time with a message (Dynomotion VB stopped working) that pops up and goes away.  Do you have a sequence I can follow to create an exe that will run stand alone?  The app runs fine with VS2008 open and hitting run.


I also tried adding a deployment project to the solution and creating an msi for a stand alone install but it would not run and would just hang.


Thanks, Mike

Group: DynoMotion Message: 12884 From: Tom Kerekes Date: 2/27/2016
Subject: Re: Dynomotion VB.net.exe won't run
Hi Mike,

Is the .exe residing in the <>\KMotion\Release directory with all the other DLLs?

If you double click on the .exe does it run?

If the VB Project Properties | Application | Enable Application Framework is checked, try unchecking and rebuilding.

HTH
Regards
TK

On 2/27/2016 12:14 PM, mp.3333@... [DynoMotion] wrote:
 

Hi Tom, I am finishing up a machine and need to run from an exe and remove the development files.  However, when I run the exe it fails every time with a message (Dynomotion VB stopped working) that pops up and goes away.  Do you have a sequence I can follow to create an exe that will run stand alone?  The app runs fine with VS2008 open and hitting run.


I also tried adding a deployment project to the solution and creating an msi for a stand alone install but it would not run and would just hang.


Thanks, Mike


Group: DynoMotion Message: 12890 From: mp.3333 Date: 2/27/2016
Subject: Re: Dynomotion VB.net.exe won't run

Hi Tom, thanks.  It does work when placed in the release directory.  I had assumed it would find the dlls.


So to setup on a new PC, I just need to install KMotion and copy my exe to the release folder?


Can I only copy the files I need for my custom dynomotion vb.net app?  I am not using the kmotioncnc...really just using basic functions and the gcode interpreter.  I would like to create a simple installer with only the files I need.


Thanks, Mike



Group: DynoMotion Message: 12894 From: Tom Kerekes Date: 2/28/2016
Subject: Re: Dynomotion VB.net.exe won't run
Hi Mike,

See:
http://www.dynomotion.com/wiki/index.php?title=PC_Example_Applications#Installing_your_PC_Application_on_a_Target_System

Regards
TK

On 2/27/2016 3:19 PM, mp.3333@... [DynoMotion] wrote:
 

Hi Tom, thanks.  It does work when placed in the release directory.  I had assumed it would find the dlls.


So to setup on a new PC, I just need to install KMotion and copy my exe to the release folder?


Can I only copy the files I need for my custom dynomotion vb.net app?  I am not using the kmotioncnc...really just using basic functions and the gcode interpreter.  I would like to create a simple installer with only the files I need.


Thanks, Mike




Group: DynoMotion Message: 12896 From: mp.3333 Date: 2/28/2016
Subject: Re: Dynomotion VB.net.exe won't run
Great.  Just what I needed.  Thanks Tom.